#ifndef	_SERIALOUTIO_HPP
#define	_SERIALOUTIO_HPP

#include <pic.h>
#include "sad8.h"

#define		cnSendOver	1
#define		cnSendGoon	0

#define		cnReceOver	1
#define		cnReceTimeout	2
#define		cnReceGoon	0

#define		cnSendStrOver	1
#define		cnSendStrGoon	0

#define		cnReceStrOver	2
#define		cnReceStrTimeout	1
#define		cnReceStrGoon		0

bit     com_send_byte_io_int ( byte  buf );
byte    com_rece_byte_io_int (bank1 byte *inbuf );
byte 	com_rece_buff (bank1 byte *s , byte len , bank1 byte *recelen );
byte    com_send_buff (bank1 byte *s , byte len );


#endif
